package com.wkbb.basic.service;

//import com.wkbb.basic.vo.ValidVisitorDeviceUserVo;
//import com.wkbb.common.vo.DeviceUserVo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Alger Yang
 */
public interface XmppService {

    void sendXmpp(Long command, Long orgId, String deviceCodes);

    void sendXmpp(Long command, Long orgId, String deviceCodes, String json);

    void reloadAllUser(Long orgId, String deviceCodes);

    //void updatePerson(Long orgId, String deviceCodes, Boolean delete, DeviceUserVo user);

    void restart(Long orgId, String deviceCodes);

    void reboot(Long orgId, String deviceCodes);

    void upLogs(Long orgId, String deviceCodes, String date);

    void online(Long orgId, String deviceCodes);

    void setSimilar(Long orgId, String deviceCodes, Integer similar);

    void setLevel(Long orgId, String deviceCodes, Integer level);

    void setDoorEnable(Long orgId, String deviceCodes, Integer enable);

    void clearCache(Long orgId, String deviceCodes);

    void clearLog(Long orgId, String deviceCodes);

    void clearLogScale(Long orgId, String deviceCodes);

    void assistConnect(Long orgId, String deviceCodes);

    void updateCheck(Long orgId, String deviceCodes);

    void configUpdate(Long orgId, String deviceCodes );

    void xmppUpdatePerson(Long orgId, Long userId, Short roleType, Date date);

    void updateInfrared(Long orgId, String deviceCodes, Boolean infraredFlag, BigDecimal infraredValue , BigDecimal infraredTemperatureCompensation);

    void updateStudentMapFamily(Long id, Long orgId, Long userId, Long studentUserId, Integer relationType, boolean delete);

    void xmppUpdateWebankSignTicket(Long orgId, String signTicket);

    void xmppUpdatePersonByDate(Long orgId, Date date,int roleType);

    //void updateValidVisitorUser(Long orgId, String deviceCodes, ValidVisitorDeviceUserVo ValidVisitorUserDto, boolean delete);

}
